package com.wyk.mapper;

import com.wyk.annotations.Param;
import com.wyk.bean.User;

import java.util.List;

/**
 * @InterfaceName: userMapper
 * @Description:
 * @Author: 初久
 * @Date: 2022/7/14 9:29
 **/
public interface userMapper {

    User selectUserById(@Param("id") Integer id);

    List<User> selectUserByName(@Param("name") String name);

    int insertUser(User user);

    int deleteUser(@Param("id") Integer id);

    int updateUser(User user);

}
